<?php echo $this->Session->flash(); ?>
<?php

echo $form->create('Tab');
echo $form->input("Tab.titulo");
echo $form->input("Tab.icono");
echo $form->input("Tab.order");
echo $ajax->submit('Submit', array('url' => array('controller' => 'Tabs', 'action' => 'add'), 'update' => 'content', 'complete' => 'cargar()', 'loading' => "$('#loader').show();", 'loaded' => "$('#loader').hide();cargar();"));
echo $form->end();
?>